package com.sky.mapper;

import com.sky.annotation.aop.AutoFill;
import com.sky.entity.DishFlavor;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Mapper
public interface DishFlavorMapper {
    void add(List<DishFlavor> flavors);

    void deleteBatches(List<Long> ids);

    List<DishFlavor> selectByDishId(@RequestParam("id") Long id);

    void update(List<DishFlavor> flavors);

    void deleteByDishId(@RequestParam("id") Long id);
}
